//
//  Common.h
//  定制公交(司机端)
//
//  Created by HWS on 16/5/23.
//  Copyright © 2016年 KL. All rights reserved.
//

#ifndef Common_h
#define Common_h

#define kBarButtonImageSize     20

#define FontSize  15

#define RGBA(r, g, b, a)  [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]

#define kSystemFont(x)          [UIFont systemFontOfSize:x]

#define RGB(r, g, b)      RGBA(r, g, b, 1.0f)

#define textFiledPlaceHolderBlack RGB(165.0f, 170.0f, 173.0f)

#define baseTheamColor RGB(255.0f, 97.0f, 0.0f)

#define baseTheamColorH RGB(255.0f, 97.0f, 0.0f)

#define baseTheamColorN RGB(80.0f,77.0f,95.0f)

#define profileBGcolor RGBA(230, 230, 230, 1)

#define viewBgColor RGBA(238, 238, 238, 1)

#define basicButtonHeight 35.0f
/*****导航栏栏**********/

/******************KlProfileController***********/
#define drakColor  RGBA(71, 72, 73, 1)

/*****************屏幕宽高***********************/
#define kVieww     self.view.frame.size.width
#define kViewh     self.view.frame.size.height


//取view的坐标及长宽
#define W(view)    view.frame.size.width
#define H(view)    view.frame.size.height
#define X(view)    view.frame.origin.x
#define Y(view)    view.frame.origin.y

#define Y_H(view) Y(view) + H(view)
#define X_W(view) X(view) + W(view)



#endif /* Common_h */
